{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>风讯详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">动态ID：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.info_id}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">发布时间：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.info_time}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">发布用户ID：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_create_id}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">发布用户昵称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_username}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">发布用户手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_phone}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">发布范围：</label>
                            <div class="layui-input-block">
                                {if($info.info_show == 1) }
                                <input type="text" class="layui-input" value="公开" disabled>
                                {/if}
                                {if($info.info_show == 2) }
                                <input type="text" class="layui-input" value="粉丝可见" disabled>
                                {/if}
                                {if($info.info_show == 3) }
                                <input type="text" class="layui-input" value="好友可见" disabled>
                                {/if}
                                {if($info.info_show == 4) }
                                <input type="text" class="layui-input" value="自己可见" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">所在位置：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.info_addr}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">浏览量：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.info_read_num}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">被举报次数：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$report_num}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评论数：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$comment_reply_num}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">状态：</label>
                            <div class="layui-input-block">
                                {if($info.info_is_publish == 1) }
                                <input type="text" class="layui-input" value="草稿" disabled>
                                {/if}
                                {if($info.info_is_publish == 2) }
                                <input type="text" class="layui-input" value="已发布" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">风讯类型：</label>
                            <div class="layui-input-block">
                                {if($info.info_type == 1) }
                                <input type="text" class="layui-input" value="文字" disabled>
                                {/if}
                                {if($info.info_type == 2) }
                                <input type="text" class="layui-input" value="图片文字" disabled>
                                {/if}
                                {if($info.info_type == 3) }
                                <input type="text" class="layui-input" value="视频文字" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">风讯内容：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea">{$info.info_content}</textarea>
                            </div>
                        </div>

                        {if($info.info_type == 2)}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">风讯图片：</label>
                            <div class="layui-input-block">
                                {volist name='info.info_images' id='vo'}
                                <img src="{$vo}" class="img-circle" style="height:100px">
                                {/volist}
                            </div>
                        </div>
                        {/if}

                        {if($info.info_type == 3)}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">风讯视频：</label>
                            <div class="layui-input-block">
                                <video width="320" height="240" controls>
                                    <source src="{$info.info_images}" type="video/mp4">
                                </video>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>
